package com.um.jdy.common.activity.entity.vo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.um.springboot.starter.orm.entity.BaseVO;
import lombok.Data;
import java.util.Date;
import io.swagger.annotations.ApiModelProperty;

/**
 * 优惠券表
 * @TableName activity_coupons
 */
@Data
public class CouponsVO extends BaseVO {

	 @ApiModelProperty(value = "优惠券ID")
	 protected String activityCouponsId;

	 @ApiModelProperty(value = "租户ID")
	 protected String comId;

	 @ApiModelProperty(value = "标题")
	 protected String title;

	 @ApiModelProperty(value = "优惠金额")
	 protected Integer money;

	 @ApiModelProperty(value = "限制金额使用")
	 protected Integer limitMoney;

	 @ApiModelProperty(value = "过期类型 Appointed-指定日期 Definite-领取后固定时间(未使用)")
	 protected String overType;

	 @ApiModelProperty(value = "生效时间")
	 protected Date startTime;

	 @ApiModelProperty(value = "有效时间(未使用)")
	 protected Integer useTime;

	 @ApiModelProperty(value = "结束时间")
	 protected Date endTime;

	 @ApiModelProperty(value = "优惠券总数")
	 protected Integer totalNum;

	 @ApiModelProperty(value = "优惠券总数限制 NoLimit：不限制 Limit：限制")
	 protected String totalNumType;

	 @ApiModelProperty(value = "领取数量限制(弃用，只能领1次)")
	 protected Integer limitNum;

	 @ApiModelProperty(value = "领取限制 NoLimit：不限制 Limit：限制(弃用，只能领1次)")
	 protected String limitNumType;

	 @ApiModelProperty(value = "创建时间")
	 protected Date createTime;

	 @ApiModelProperty(value = "使用范围：All-全场可用｜Part-指定站场/商品")
	 protected String available;

	 @ApiModelProperty(value = "是否开启 No-关闭 Yes-开启")
	 protected String status;

	 @ApiModelProperty(value = "是否和活动叠加，No-否，Yes-是")
	 protected String isActivityMerge;

	 @ApiModelProperty(value = "类型：Coupons-优惠券(未使用)")
	 protected String type;

	 @ApiModelProperty(value = "场景类型：Goods-商品优惠券 Charge-充电优惠券")
	 protected String sceneType;

	 @ApiModelProperty(value = "是否对外开放领取：Yes-是 No-否")
	 protected String isOpen;

	@ApiModelProperty(value = "支持设备类型(jsonarray)：EB-两轮桩 EV-汽车桩 EBox-充电柜")
	protected String deviceTypes;

	@ApiModelProperty(value = "可用设备：All-全场可用｜Part-指定设备")
	protected String availableDevice;

}
